Skip to content

Internationalize the website statically#564

Draft
kjarosh wants to merge 3 commits into
ruffle-rs:masterfrom
kjarosh:i18n
Draft

Internationalize the website statically#564
kjarosh wants to merge 3 commits into
ruffle-rs:masterfrom
kjarosh:i18n

Conversation

@kjarosh

@kjarosh kjarosh commented May 17, 2026

Copy link
Copy Markdown
Member

This is my take on how I imagine an internationalized Ruffle website. No dynamic translations, no dependency on user's locale, minimal changes to existing code.

The package produces a set of translated websites available under different paths (/, /pl-PL/, etc.). This uses simple JSON-based translations files and a custom translate function that translates the website completely server-side.

Note: the boilerplate code was mostly generated.

kjarosh added 3 commits May 17, 2026 02:29
This adds i18n with minimal changes. The package produces a set of
translated websites available under different paths (/, /pl-PL/, etc.).
This uses simple JSON-based translations files and a custom translate
function that translates the website completely server-side.
This adds a language selector at the bottom right that allows switching
between different languages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant